import request from '@/utils/request'

// 查询部门信息列表
export function listDepartment(query) {
  return request({
    url: '/departmentSys/department/public/list',
    method: 'get',
    params: query
  })
}

// 查询部门信息详细
export function getDepartment(id) {
  return request({
    url: '/departmentSys/department/public/' + id,
    method: 'get'
  })
}
